.contestCard {
  transition: box-shadow 0.2s;
}

.contestCard:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.statusBadge {
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
}

.container {
  padding: 24px;
}

.filterCard {
  margin-bottom: 24px;
}

.header {
  margin-bottom: 0;
}

.searchForm {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.leftControls {
  flex-shrink: 0;
  margin-right: 20px;
}

.rightControls {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end; /* 确保底部对齐 */
  gap: 8px;
}

.formItem {
  margin-bottom: 0;
  margin-right: 8px;
}

.formItem :global(.ant-form-item-control-input) {
  min-height: 32px; /* 确保控件高度一致 */
}

.formItem :global(.ant-select-selector),
.formItem :global(.ant-input),
.formItem :global(.ant-btn) {
  height: 32px !important; /* 强制所有控件高度一致 */
}

.createButton {
  margin-right: 16px;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .searchForm {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .leftControls, .rightControls {
    width: 100%;
    margin-bottom: 16px;
  }
  
  .rightControls {
    flex-wrap: wrap;
  }
  
  .formItem {
    margin-bottom: 8px;
  }
} 